﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace RayOptimizer
{
    class Town
    {
        private long x;

        public long X
        {
            get 
            { 
                return x; 
            }

            set 
            { 
                x = value; 
            }
        }

        private long y;

        public long Y
        {
            get 
            { 
                return y; 
            }

            set 
            { 
                y = value; 
            }
        }
        private bool connected;

        public bool Connected
        {
            get 
            { 
                return connected; 
            }
            
            set 
            { 
                connected = value; 
            }
        }

        public Town(long x, long y)
        {
            this.x = x;
            this.y = y;
            connected = false;
        }
    }
}
